home *** CD-ROM | disk | FTP | other *** search
- // Copyright (C) 1997-2002 Alias|Wavefront,
- // a division of Silicon Graphics Limited.
- //
- // The information in this file is provided for the exclusive use of the
- // licensees of Alias|Wavefront. Such users have the right to use, modify,
- // and incorporate this code into other products for purposes authorized
- // by the Alias|Wavefront license agreement, without fee.
- //
- // ALIAS|WAVEFRONT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
- // INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
- // EVENT SHALL ALIAS|WAVEFRONT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
- // CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
- // DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
- // TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- // PERFORMANCE OF THIS SOFTWARE.
- //
- //
- // Alias|Wavefront Script File
- // MODIFY THIS AT YOUR OWN RISK
- //
- // Creation Date: March 27, 1997
- // Author: dsw
- //
- // Description:
- // Create the default project under the users maya directory.
- // It is run in both batch and GUI modes.
- //
- // Input Arguments:
- // None.
- //
- // Return Value:
- // None.
- //
- // Note:
- // None.
- //
-
- //global proc createDefaultProject ( )
- //
- // Description:
- // Under the current working directory create a default
- // project layout.
- //
- {
- string $appDir = `internalVar -uad`;
- string $projectsDir = `internalVar -uwd`;
-
- // Make sure the app directory exists
- workspace -cr $appDir;
-
- // Create the projects directory
- workspace -cr $projectsDir;
- workspace -dir $projectsDir;
-
- // Create all the default entries
- workspace -cr "default";
- workspace -dir "default";
-
- workspace -rd `workspace -q -dir`;
-
- // Scene segment locations.
- workspace -ot "scene" "scenes";
- workspace -cr "scenes";
-
- // Project Data
- workspace -fr "depth" "renderData/depth";
- workspace -cr "renderData/depth";
- workspace -fr "iprImages" "renderData/iprImages";
- workspace -cr "renderData/iprImages";
- workspace -fr "lights" "renderData/shaders";
- workspace -cr "renderData/shaders";
- workspace -rt "renderScenes" "renderScenes";
- workspace -cr "renderScenes";
- workspace -fr "sourceImages" "sourceimages";
- workspace -cr "sourceimages";
- workspace -fr "textures" "textures";
- workspace -cr "textures";
- workspace -rt "images" "images";
- workspace -cr "images";
-
- workspace -fr "particles" "particles";
- workspace -cr "particles";
- workspace -fr "clips" "clips";
- workspace -cr "clips";
- workspace -fr "audio" "sound";
- workspace -cr "sound";
-
- workspace -fr "mel" "mel";
-
- // Data transfer locations.
- workspace -fr "image" "images";
- workspace -fr "DXF" "data";
- workspace -fr "DXFexport" "data";
- workspace -fr "OBJ" "data";
- workspace -fr "OBJexport" "data";
- workspace -fr "IGES" "data";
- workspace -fr "aliasWire" "data";
- workspace -fr "RIB" "data";
- workspace -fr "RIBexport" "data";
- workspace -fr "move" "data";
- workspace -fr "animImport" "data";
- workspace -fr "animExport" "data";
- workspace -fr "diskCache" "data";
- workspace -cr "data";
-
- workspace -s;
- }
-